home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 301-325 / disk_319 / cnewssrc / cnews.src.lzh / relay / hdrint.h < prev    next >
C/C++ Source or Header  |  1989-06-28  |  1KB  |  47 lines

  1. /*
  2.  * definitions internal to the header modules (hdr*.c)
  3.  */
  4. #ifdef REALSTDC
  5. #  undef REALSTDC
  6. #endif
  7. #ifdef __STDC__
  8. #  if __STDC__ >= 1        /* microsoft, etc. brain-damage */
  9. #    define REALSTDC        /* truth in advertising: really ANSI */
  10. #  endif                /* __STDC__ < 1 */
  11. #endif                /* __STDC__ */
  12.  
  13. #ifndef REALSTDC
  14. #  ifdef MCH_AMIGA
  15. #    define CONST    /* const */
  16. #  else
  17. #    define CONST
  18. #  endif
  19. #endif                /* REALSTDC */
  20.  
  21. #ifndef DEFDIST
  22. #  define DEFDIST "world"        /* default Distribution: */
  23. #endif
  24. #ifndef DEFMSGID
  25. #  define DEFMSGID "<message-id@absent>"
  26. #endif
  27.  
  28. #define JUNK "junk"
  29. #define ALL "all"
  30.  
  31. #ifdef SLOWCTLMATCH
  32. #  define OLDCNTRL "all.all.ctl"
  33. #endif
  34. #define SFXOLDCNTRL ".ctl"
  35.  
  36. struct hdrdef {
  37.     CONST char *hdrnm;    /* ascii name */
  38.     unsigned hdrlen;    /* STRLEN(hdrnm) */
  39.     int hdroff;        /* offset into struct header */
  40. };
  41. /* typedef CONST struct hdrdef *hdrlist[]; */
  42.  
  43. extern CONST struct hdrdef pathhdr, xrefhdr;
  44. extern CONST struct hdrdef *parsehdrs[], *hdrvilest[];
  45.  
  46. extern boolean headdebug;
  47.